
package JavaSwingApp;

import java.util.GregorianCalendar;

/**
 * Information about a single entertainment event.
 */
public class Event {

    private String type;
    private String venue;
    private String name;
    private String desc;
    private GregorianCalendar date;
    private float [] prices;


    public Event(String type, String venue, String name, String desc, GregorianCalendar date, float [] prices)  {
        this.type = type;
        this.venue = venue;
        this.name = name;
        this.desc = desc;
        this.date = date;
        this.prices = prices;
    }

    /**
     * @return the type
     */
    public String getType() {
        return type;
    }

    /**
     * @return the venue
     */
    public String getVenue() {
        return venue;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @return the desc
     */
    public String getDesc() {
        return desc;
    }

    /**
     * @return the prices
     */
    public float[] getPrices() {
        return prices;
    }

    /**
     * @return the date
     */
    public GregorianCalendar getDate() {
        return date;
    }

}